package org.zls.client;

import org.zls.client.login.Login;

import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Label;

public class WelcomeTab extends Tab {
	
	Login login;
	
	public static TabInfo init() {
		return new TabInfo("Welcome", "<h2> Welcome! </h2>") {

			public Tab createInstance() {
				return new WelcomeTab();
			}
			
			public String getColor() {
				return "#8B1C62";
			}

			public void setTitle() {

				Window.setTitle("HSpot - Welcome!");
			}
		};
	}
	
	public WelcomeTab() {
		login = new Login();
		initWidget(login);
	}
}
